package entity;

import java.io.Serializable;

public class Result implements Serializable {
    String message;
    int statuCode;
    Object result;

    public Result() {
    }

    public Result(String message, int statuCode, Object result) {
        this.message = message;
        this.statuCode = statuCode;
        this.result = result;
    }

    /**
     * 获取
     * @return message
     */
    public String getMessage() {
        return message;
    }

    /**
     * 设置
     * @param message
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * 获取
     * @return statuCode
     */
    public int getStatuCode() {
        return statuCode;
    }

    /**
     * 设置
     * @param statuCode
     */
    public void setStatuCode(int statuCode) {
        this.statuCode = statuCode;
    }

    /**
     * 获取
     * @return result
     */
    public Object getResult() {
        return result;
    }

    /**
     * 设置
     * @param result
     */
    public void setResult(Object result) {
        this.result = result;
    }

    public String toString() {
        return "Result{message = " + message + ", statuCode = " + statuCode + ", result = " + result + "}";
    }
}
